// 提交mutation，异步操作
import {
	SET_APP_VERSION,
	CHANGE_HEADER_HEIGHT,
	SET_PARAMS_ISPHONEX,
	SET_PARAMS_HAIRHEIGHT,
} from './mutationTypes';

export default {
	setAppVersion({ commit },obj){
		commit(SET_APP_VERSION, obj);
	},
	changeHeaderHeight({ commit },obj){
		commit(CHANGE_HEADER_HEIGHT, obj);
	},
	setParamsIsIphoneX({ commit },obj){
		commit(SET_PARAMS_ISPHONEX, obj);
	},
	setParamsHairHeight({ commit },obj){
		commit(SET_PARAMS_HAIRHEIGHT, obj);
	},
}
